﻿<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title>Test</title>
    <script type="text/javascript">
        function Exit() {
            browser4gp.exit();
        }
        function ShowStatusBar() {
            browser4gp.showStatusBar();
        }
        function SetStatusBarText() {
            browser4gp.setStatusBarMessage(Date.now.toLocaleString());
        }
        function HideStatusBar() {
            browser4gp.hideStatusBar();
        }
    </script>
    <script type="text/javascript" src="browser4gp.js"></script>
</head>
<body>
    <button onclick="ShowStatusBar()">Show status bar</button>
    <button onclick="SetStatusBarText()">Set status bar text</button>
    <button onclick="HideStatusBar()">Hide status bar</button>
    <button onclick="Exit()">Exit</button>
</body>
</html>